﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.Web;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace BBECServiceBusAdapter
{
    [DataContract(Name="FundraisingPurposeAdd", Namespace=Helper.Namespace)]
    public sealed class FundraisingPurposeDataAddContract

    {
        #region Data Members

        //Required
        [DataMember(IsRequired = true)]
        public string Name = "";
        [DataMember(IsRequired = true)]
        public string PurposeType = "";
        [DataMember(IsRequired = true)]
        public string LookupId = ""; //Primary Key from DV
        [DataMember(IsRequired = false)]
        public DateTime? StartDate;
        [DataMember(IsRequired = false)]
        public DateTime? EndDate;

        //Optional
        [DataMember(IsRequired = true)]
        public string Description = "";
        [DataMember(IsRequired = false)]
        public TimePeriodCode TimePeriodCode = TimePeriodCode.Annually;

        #endregion


    }
}
